<div class="table-responsive">
    <table class="table table-hover">
        <thead>
            <tr>
                <th>{{trans('navigation.classes')}}</th>
                <th>{{trans('navigation.mornitor.attendance')}}</th>
                <th>{{trans('navigation.mornitor.score')}}</th>
                <th>{{trans('review.rank')}} </th>
            </tr>
        </thead>
        <tbody>
            @foreach($Classes as $key => $oObject)
            <tr>
                <td class="bold">
                    {{{ $oObject->generateClassName() }}}
                </td>
                <td>
                    {{{ $User->isThieuNhi() ? (float)$oObject->pivot->chuyencan : null }}}
                </td>
                <td>
                    {{{ $User->isThieuNhi() ? (float)$oObject->pivot->hocluc : null }}}
                </td>
                <td>
                    {{{ $User->isThieuNhi() ? @$Option['RANK'][$oObject->pivot->rank]->data : null }}}
                </td>
            </tr>
            @endforeach
        </tbody>
    </table>
</div>